package com.wzb.mybatisplus.bitaction.section;

import java.math.BigInteger;

public class GetSection {
    public static Boolean panduanSection(BigInteger num){
        if(num.compareTo(BigInteger.valueOf(100000000))<=0){
            return false;
        }else if(num.compareTo(new BigInteger("115792089237316195423570985008687907852837564279074904382605163141516811701847"))>=0){
            return false;
        }else if(num.compareTo(new BigInteger("39495683048218951349200513263173930019867882577048420551509231031013422944192"))<=0
               &&num.compareTo(new BigInteger("39495683048218951349200513263173930019867882577048420551509231031013421944192"))>=0){
            return false;
        }else if(num.compareTo(new BigInteger( "7932827361081204371460004289937902881919920659422103314159910480097890817076"))<=0
                &&num.compareTo(new BigInteger("7932827361081204371460004289937902881919920659422103314159910480097880817076"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("6")){
            return false;
        }else if(num.compareTo(new BigInteger( "8662685131964078107796780129697361041443520800543705982374149426598956396434"))<=0
                &&num.compareTo(new BigInteger("8662685131964078107796780129697361041443520800543705982374149426598946396434"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("4")){
            return false;
        }else if(num.compareTo(new BigInteger( "5620996379941391781550841516685426304988282943502983073304364177543904189002"))<=0
                &&num.compareTo(new BigInteger("5620996379941391781550841516685426304988282943502983073304364177543894189002"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("2")){
            return false;
        }else if(num.compareTo(new BigInteger( "99438823654406535549217510297699173367241003144237855125987495052761012320782"))<=0
                &&num.compareTo(new BigInteger("99438823654406535549217510297699173367241003144237855125987495052761001740532"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("2")){
            return false;
        }else if(num.compareTo(new BigInteger( "56734667242032134829716763808163699027115753229749965896079180063452442584952"))<=0
                &&num.compareTo(new BigInteger("56734667242032134829716763808163699027115753229749965896079180063452433730452"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("2")){
            return false;
        }else if(num.compareTo(new BigInteger( "52692545776074684053313358299692510292269586296148670782756270047345257219801"))<=0
                &&num.compareTo(new BigInteger("52692545776074684053313358299692510292269586296148670782756270047345246274301"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("1")){
            return false;
        }else if(num.compareTo(new BigInteger( "32123334656946952604875234129864025068434533963297466506863291415941151689173"))<=0
                &&num.compareTo(new BigInteger("32123334656946952604875234129864025068434533963297466506863291415941141689173"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("3")){
            return false;
        }else if(num.compareTo(new BigInteger( "17909079357514750637310581638156653160639497080835621243814283136297873343844"))<=0
                &&num.compareTo(new BigInteger("17909079357514750637310581638156653160639497080835621243814283136297863343844"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("4")){
            return false;
        }else if(num.compareTo(new BigInteger( "2601682088254643186302315319020267564257640052650648704018298508767481930865"))<=0
                &&num.compareTo(new BigInteger("2601682088254643186302315319020267564257640052650648704018298508767471930865"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("5")){
            return false;
        }else if(num.compareTo(new BigInteger( "33502238468720366603625598688721022727241948129409131024039813013025169223872"))<=0
                &&num.compareTo(new BigInteger("33502238468720366603625598688721022727241948129409131024039813013025159223872"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("2")){
            return false;
        }else if(num.compareTo(new BigInteger( "24495093313517639545294345543528862295674891981119882665019818792454631760280"))<=0
                &&num.compareTo(new BigInteger("24495093313517639545294345543528862295674891981119882665019818792454621760280"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("0")){
            return false;
        }else if(num.compareTo(new BigInteger( "56413768934009299658518747791036320029302592742943368989670836103535660393821"))<=0
                &&num.compareTo(new BigInteger("56413768934009299658518747791036320029302592742943368989670836103535650393821"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("1")){
            return false;
        }else if(num.compareTo(new BigInteger( "52382248581186041701545392300472560154034275858292655613331107610133218283543"))<=0
                &&num.compareTo(new BigInteger("52382248581186041701545392300472560154034275858292655613331107610133208283543"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("3")){
            return false;
        }else if(num.compareTo(new BigInteger( "29900414753849422398741077842656125923951432692347917792868566579285625031384"))<=0
                &&num.compareTo(new BigInteger("29900414753849422398741077842656125923951432692347917792868566579285615031384"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("4")){
            return false;
        }else if(num.compareTo(new BigInteger( "79971694001327657959421825817495843254321327219554974644029574905709597526643"))<=0
                &&num.compareTo(new BigInteger("79971694001327657959421825817495843254321327219554974644029574905709587526643"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("3")){
            return false;
        }else if(num.compareTo(new BigInteger( "32706781239934783855135999719581123722771895660989830892614976880576001449948"))<=0
                &&num.compareTo(new BigInteger("32706781239934783855135999719581123722771895660989830892614976880575991449948"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("8")){
            return false;
        }else if(num.compareTo(new BigInteger( "15945155298190589673770517766158536655802856610230070211816016954440623108401"))<=0
                &&num.compareTo(new BigInteger("15945155298190589673770517766158536655802856610230070211816016954440613108401"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("1")){
            return false;
        }else if(num.compareTo(new BigInteger( "74334346860327308373051044172321860869856327553044134303822876254465336286868"))<=0
                &&num.compareTo(new BigInteger("74334346860327308373051044172321860869856327553044134303822876254465334806368"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("8")){
            return false;
        }else if(num.compareTo(new BigInteger( "105992300493700516989310391675497829114896095762641856244367047987695453654792"))<=0
                &&num.compareTo(new BigInteger("105992300493700516989310391675497829114896095762641856244367047987695452225292"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("2")){
            return false;
        }else if(num.compareTo(new BigInteger( "49817466567480199923083058620840790885595414094694186798017100639004018310452"))<=0
                &&num.compareTo(new BigInteger("49817466567480199923083058620840790885595414094694186798017100639004016817202"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("2")){
            return false;
        }else if(num.compareTo(new BigInteger( "95283723619427544303910823829326409607315055830364770813585025741376612804701"))<=0
                &&num.compareTo(new BigInteger("95283723619427544303910823829326409607315055830364770813585025741376602804701"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("1")){
            return false;
        }else if(num.compareTo(new BigInteger( "30030553093012662479279739903254250059866508636486750055496528363257250078404"))<=0
                &&num.compareTo(new BigInteger("30030553093012662479279739903254250059866508636486750055496528363257240078404"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("4")){
            return false;
        }else if(num.compareTo(new BigInteger( "62680301795044509101159524676234925827861566783038013330949143633342095717057"))<=0
                &&num.compareTo(new BigInteger("62680301795044509101159524676234925827861566783038013330949143633342085717057"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("7")){
            return false;
        }else if(num.compareTo(new BigInteger( "67517662257971532492686364939816853978149878685012453499487889999749922765343"))<=0
                &&num.compareTo(new BigInteger("67517662257971532492686364939816853978149878685012453499487889999749919973843"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("3")){
            return false;
        }else if(num.compareTo(new BigInteger( "20711481350615129947018634045484495409498463301703678570515125216761727614368"))<=0
                &&num.compareTo(new BigInteger("20711481350615129947018634045484495409498463301703678570515125216761717614368"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("8")){
            return false;
        }else if(num.compareTo(new BigInteger( "7363022144074926728440500875920267512909428960727750298065535538615307711887"))<=0
                &&num.compareTo(new BigInteger("7363022144074926728440500875920267512909428960727750298065535538615297711887"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("7")){
            return false;
        }else if(num.compareTo(new BigInteger( "88068494110705452030998285603175488532429680791698602242114224070568749003329"))<=0
                &&num.compareTo(new BigInteger("88068494110705452030998285603175488532429680791698602242114224070568739003329"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("9")){
            return false;
        }else if(num.compareTo(new BigInteger( "69685463978897300147921859134711776332745799945731950300211588084235968877714"))<=0
                &&num.compareTo(new BigInteger("69685463978897300147921859134711776332745799945731950300211588084235958877714"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("4")){
            return false;
        }else if(num.compareTo(new BigInteger( "115451415966748258552699800161720517227947141661225053626456686563831868556944"))<=0
                &&num.compareTo(new BigInteger("115451415966748258552699800161720517227947141661225053626456686563831858556944"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("4")){
            return false;
        }else if(num.compareTo(new BigInteger( "19063915381683727568365030436366884296507449838221534758466153776391740074158"))<=0
                &&num.compareTo(new BigInteger("19063915381683727568365030436366884296507449838221534758466153776391730074158"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("8")){
            return false;
        }else if(num.compareTo(new BigInteger( "87704238969293243490420537846163949215713960687736037902722016416576895916328"))<=0
                &&num.compareTo(new BigInteger("87704238969293243490420537846163949215713960687736037902722016416576885916328"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("8")){
            return false;
        }else if(num.compareTo(new BigInteger( "106010179866431109760477836907578282608259505176504062752121426597593923103724"))<=0
                &&num.compareTo(new BigInteger("106010179866431109760477836907578282608259505176504062752121426597593913103724"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("4")){
            return false;
        }else if(num.compareTo(new BigInteger( "37867695189695912809912036753701213468240578730029191438662464282432351269872"))<=0
                &&num.compareTo(new BigInteger("37867695189695912809912036753701213468240578730029191438662464282432341269872"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("2")){
            return false;
        }else if(num.compareTo(new BigInteger( "94368574703120778320286815994036047227368551369557518807294487194298021597160"))<=0
                &&num.compareTo(new BigInteger("94368574703120778320286815994036047227368551369557518807294487194298016497910"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("0")){
            return false;
        }else if(num.compareTo(new BigInteger( "61735942273482023123475741741531184908640195882528207145408664147928121915945"))<=0
                &&num.compareTo(new BigInteger("61735942273482023123475741741531184908640195882528207145408664147928116777695"))>=0
                && (num.mod(BigInteger.valueOf(10))+"").equals("5")){
            return false;
        }
        return true;
    }

    public static void main(String[] args) {
        BigInteger a = new BigInteger("7932827361081204371460004289937902881919920659422103314159910480097890817075");
        GetSection getSection = new GetSection();
        System.out.println(getSection.panduanSection(a));
    }
}
